package cn.openea.perpartner.growth.service.impl;

import cn.openea.perpartner.growth.mapper.GrowthConfigMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.openea.perpartner.growth.entity.GrowthConfig;
import cn.openea.perpartner.growth.service.IGrowthConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * (GrowthConfig)表服务实现类
 *
 * @author makejava
 * @since 2022-08-09 11:13:00
 */
@Service("growthConfigService")
public class GrowthConfigServiceImpl extends ServiceImpl<GrowthConfigMapper, GrowthConfig> implements IGrowthConfigService {
    @Autowired
    GrowthConfigMapper configMapper;
    @Override
    public GrowthConfig selectCurrentGrade(String score) {
        return configMapper.selectCurrentGrade(score);
    }
    @Override
    public GrowthConfig selectNextGrade(String score) {
        return configMapper.selectNextGrade(score);
    }

}

